<?xml version="1.0" encoding="UTF-8"?>
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
<!-- <xsl:output method="xml" encoding="windows-1250" indent="no"/> -->

<xsl:output method="text"/>
<xsl:strip-space elements="*" />

<!-- ================================================================
 |
 + ================================================================== -->
<!--
<xsl:template match="/">
   <xsl:call-template name="root.messages"/>
   <xsl:apply-templates/>
</xsl:template>
-->

<!-- ================================================================
 |
 + ================================================================== -->
<xsl:template name="root.messages">
   <xsl:message>============================================================</xsl:message>
   <xsl:message> Generating of symbols and abbrevations list                </xsl:message>
   <xsl:message>                                                            </xsl:message>
   <xsl:message> AUTHOR : martin.sveda@saabgroup.com                        </xsl:message>
   <xsl:message> USING  :<xsl:value-of select="system-property('xsl:vendor')"/></xsl:message>
   <xsl:message>============================================================</xsl:message>
   <xsl:message>                                                            </xsl:message>
</xsl:template>

<!--
<xsl:template match="/">
   <xsl:for-each select="/devices/device">
         <xsl:value-of select="@name" />
         <xsl:text>  </xsl:text>
         <xsl:value-of select="@std-package" />
         <xsl:text>  </xsl:text>
         <xsl:for-each select="technologies/technology">
            <xsl:value-of select="attribute/@name" />
         </xsl:for-each>
         <xsl:text>&#xa;</xsl:text>
   </xsl:for-each>
</xsl:template>
-->

<xsl:template match="/devices/device/technologies">
   <xsl:for-each select="technology">
     <xsl:value-of select="../../@std-package" />
     <xsl:text> </xsl:text>
     <xsl:value-of select="@name" />
     <xsl:apply-templates />
     <xsl:text>   --------      </xsl:text>
     <xsl:number count="device" level="any" format="000000"/>
     <xsl:text>&#xa;</xsl:text>
   </xsl:for-each>
</xsl:template>


<xsl:template match="/devices/device/technologies/technology/attribute[@name='COMPONENT_VALUE']">
   <xsl:text> </xsl:text><xsl:value-of select="@value" />
</xsl:template>   


<!--
<xsl:template match="/devices/device/technologies/technology">
   <xsl:apply-templates/>
</xsl:template>

<xsl:template match="/devices/device/technologies/technology/attribute[@name='COMPONENT_VALUE']">
   <xsl:value-of select="attribute/@name[2]" />
</xsl:template>   
-->


</xsl:stylesheet> 
